projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
406f451
)
(info): Always switch to buffer *info* even if
author
Richard M. Stallman
<rms@gnu.org>
Fri, 27 Feb 1998 23:30:11 +0000
(23:30 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 27 Feb 1998 23:30:11 +0000
(23:30 +0000)
current buffer is in Info mode.
lisp/info.el
patch
|
blob
|
history
diff --git
a/lisp/info.el
b/lisp/info.el
index 0deb67c8b591b8ef872554a5cb03bf07c2edf904..a50b0c091126c9f8bef99b12ddaf0c6e77852541 100644
(file)
--- a/
lisp/info.el
+++ b/
lisp/info.el
@@
-286,11
+286,10
@@
The top-level Info directory is made by combining all the files named `dir'
in all the directories in that path."
(interactive (if current-prefix-arg
(list (read-file-name "Info file name: " nil nil t))))
+ (pop-to-buffer "*info*")
(if file
(Info-goto-node (concat "(" file ")"))
- (if (get-buffer "*info*")
- (pop-to-buffer "*info*")
- (Info-directory))))
+ (Info-directory)))
;;;###autoload
(defun info-standalone ()